/* eslint-disable */

import React from 'react';
import { Svg, Path } from 'react-native-svg';
import { getIconColor } from './helper';

let IconDownload = ({ size, color, ...rest }) => {
  return (
    <Svg viewBox="0 0 1024 1024" width={size} height={size} {...rest}>
      <Path
        d="M512.033776 0.066227a46.358815 46.358815 0 0 1 46.358815 46.358815v539.219247l153.182771-153.050317a46.822403 46.822403 0 0 1 66.226878 66.226879l-232.721252 232.456345a47.484672 47.484672 0 0 1-66.226879 0l-232.655025-232.456345a46.358815 46.358815 0 0 1-13.245376-33.113439 46.822403 46.822403 0 0 1 79.472255-33.11344l153.050317 153.447678V46.557496a46.358815 46.358815 0 0 1 46.358815-46.358815z m465.376277 651.60626a46.358815 46.358815 0 0 1 46.358815 46.358816v186.163756a139.076445 139.076445 0 0 1-138.54663 139.60626H139.640036A139.076445 139.076445 0 0 1 0.033776 884.195059v-186.031303a46.557496 46.557496 0 0 1 93.114991 0v186.163757a46.358815 46.358815 0 0 0 46.358815 46.358815H885.487145a43.179925 43.179925 0 0 0 32.186263-13.642737 45.497866 45.497866 0 0 0 13.245376-33.11344v-185.766395a46.358815 46.358815 0 0 1 46.358815-46.358815z"
        fill={getIconColor(color, 0, '#2c2c2c')}
      />
    </Svg>
  );
};

IconDownload.defaultProps = {
  size: 18,
};

IconDownload = React.memo ? React.memo(IconDownload) : IconDownload;

export default IconDownload;
